import { configureStore } from '@reduxjs/toolkit'
import userReducer from './userReducer'

export const store = configureStore({
  reducer: {
    user: userReducer
  },
  middleware:getDefaultMiddleware => getDefaultMiddleware({
    //关闭redux序列化检测
    serializableCheck:false
  })
})
